﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="GestionStock2.aspx.cs" Inherits="WebApplication1.Stock.GestionStock2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Modifiez si necessaire les quantites disponibles dans votre stock</h1>
    </br>
  
    <asp:GridView Id="IngredientsModifies" runat="server" 
        AutoGenerateColumns="false" 
        onselectedindexchanged="IngredientsModifies_SelectedIndexChanged">
            <Columns>
                
                <asp:BoundField DataField="ingredient_id" HeaderText="Ingrédient" />
                <asp:DynamicField DataField="quantite" HeaderText="Quantité" />
                <asp:BoundField DataField="Unite" HeaderText="Unite"/>
                <asp:DynamicField DataField="date_peremption" HeaderText="Date de péremption"/>

            </Columns>
    </asp:GridView> 
     
    </br>

    <asp:Button ID="BtnValider" Text="Valider" runat="server" onclick="BtnValider_Click" ></asp:Button>
</asp:Content>
